package com.dgshanger.sanhxiaofeisc.mvp.contract;

import com.dgshanger.sanhxiaofeisc.entity.CodePaySettingEntity;
import com.xx.baseuilibrary.mvp.lcec.BaseMvpLcecView;
import com.xx.baseutilslibrary.network.rx.XxBaseHttpObserver;

/**
 * Created by JacobHHH on 2018/4/20.
 */

public interface CodePaySettingContract {

    interface View extends BaseMvpLcecView<CodePaySettingEntity>{

    }

    interface Presenter{

        void loadData(boolean isRefresh);

        void saveCodePaySettingStatus(String pay_set_type,String pay_set_wallet_rate,String pay_set_integral_rate);
    }

    interface Model{

        void loadData(XxBaseHttpObserver<CodePaySettingEntity> httpObserver);

        void saveCodePaySettingStatus(String pay_set_type,String pay_set_wallet_rate
                ,String pay_set_integral_rate,XxBaseHttpObserver<Object> httpObserver);
    }
}
